package com.dgz.system.domain.sysuser.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: DongGuoZhen
 * @Date: 2024/12/05/11:54
 * @Description:
 */
@Data
public class SysUserSaveDTO {

    @Schema(description = "用户账号")
    @NotBlank(message = "用户账号不能为空") // 不能为空
    private String userAccount;


    @NotBlank(message = "用户密码不能为空") // 不能为空
    @Schema(description = "用户密码")
    private String password;
}
